<style>
	tr{
		padding:5px;
	}
</style>

<div class="row">
<div class="panel"><h6>Other Subject Schedules</h6></div>
<?if(!empty($schedules)):?>
	<div class="section-container auto" data-section>
		<?foreach($schedules as $k => $v):?>
			<section>
				<p class="title" data-section-title><a href="#panel1"><?=ucwords($v['section_name'].' | '.$v['room_name']);?></a></p>
				<div class="content" data-section-content>
					<?$datas= array('studs'=>$v['studs'])?>
					<br class="clearfix">
					<fieldset>
						<legend>Other Information</legend>
						<table>
						<tr>
							<td><span class="label">Subject</span></td>
							<td><?=$v['subj'];?></td>
						</tr>
						<tr>
							<td><span class="label">Time</span></td>
							<td><?=$v['time'];?></td>
						</tr>
						<tr>
							<td><span class="label">Days:</span></td>
							<td><?=$v['day'];?></td>
						</tr>
						<tr>
							<td><span class="label">Section Name:</span></td>
							<td><?=$v['section_name'];?></td>
						</tr>
						<tr>
							<td><span class="label">Name of Room:</span></td>
							<td><?=$v['room_name'];?></td>
						</tr>
						<tr>
							<td><span class="label">Room Description:</span></td>
							<td><?=$v['room_name'];?></td>
						</tr>
						<tr>
							<td><span class="label">Grade Level:</span></td>
							<td><?=$v['level_desc'];?></td>
						</tr>
						<tr>
							<td><span class="label">Room/Section Adviser:</span></td>
							<td><?=$v['adviser'];?></td>
						</tr>
						</table>
					</fieldset>
					<?$this->load->view('teacher/_sched_template',$datas);?>
				</div>
			</section>
		<?endforeach;?>
	</div>
<?else:?>
		<div class="alert-box">
			No class advisory has been assigned.
		</div>
<?endif;?>
</div>
